package com.school.dao;

import com.school.domain.Course;

import java.util.List;

public interface CourseDao {
    boolean add(Course course);
    boolean del(long coid);
    boolean del(String name);
    boolean update(Course course);
    Course findById(long coid);
    Course findByName(String name);
    List<Course> findByTid(long tid);
    List<Course> findAll();

}
